package com.jkc.xh.network.models;

import com.jkc.xh.utils.MD5Util;

/**
 * Created by wangjie28 on 2015/12/1.
 */
public class AutoSellRequest {
    public String code;
    public String upprice;
    public String downprice;
    public long amount;
    public String hid;
    public String sign;


    public AutoSellRequest(String code, String upprice, String downprice, long amount, String hid) {
        this.code = code;
        this.upprice = upprice;
        this.downprice = downprice;
        this.amount = amount;
        this.hid = hid;
        this.sign = MD5Util.MD5(this.code + "|" + this.amount + "|" + this.hid);
    }
}
